package com.ethanzzh.security.ethanzzhcore.social.qq.connet;

import com.ethanzzh.security.ethanzzhcore.social.qq.api.QQ;
import org.springframework.social.connect.support.OAuth2ConnectionFactory;

/**
 * @author: Ethanzzh
 * @create: 2018-06-04 16:00
 **/
public class QQConnectionFactory extends OAuth2ConnectionFactory<QQ> {

    public QQConnectionFactory(String providerId, String appId, String appSecret) {
        super(providerId, new QQServiceProvider(appId,appSecret), new QQAdapter());
    }
}
